package uString

import (
	"bytes"
	"crypto/md5"
	"encoding/hex"
)

func Md5(src ...string) string {
	b := bytes.NewBuffer([]byte{})

	for _, v := range src {
		b.WriteString(v)
	}

	h := md5.New()
	h.Write(b.Bytes())
	return hex.EncodeToString(h.Sum(nil))
}
